// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import Vuex from './libs/vuex.js'
import VueLs from './libs/vuels'
import './libs/elementUI'
import { Message } from 'element-ui'
import router from './router'
import store from './store'
import directive from './directive/index'

// 挂载全局组件
Vue.prototype.$Message = Message

// 生产环境下是否提示警告
Vue.config.productionTip = false
// Vue.config.errorHandler = (err, vm, info) => {
//     alert('Error occured: ' + err)
// }

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    store,
    components: {
        App
    },
    template: '<App/>',
    created() {},
    methods: {}
})
